var jsonStrLocation = location.href
//判断是否 有锚点
var jsonStrName
//json 文件对象地址
var lData
jsonStrLocation = jsonStrLocation.split("#")[0]
jsonStrLocation = jsonStrLocation.split('/');
jsonStrName = jsonStrLocation[jsonStrLocation.length - 1]
console.log(jsonStrName)
if(jsonStrName.length == 0){
	jsonStrName = jsonStrLocation[jsonStrLocation.length - 2]
}
jsonStrName = jsonStrName.split('.')[0]
jsonStrLocation = jsonStrName + ".json"

$.ajax({
	type: "get",
	url: jsonStrLocation,
	async: false,
	success: function(data) {
		console.log(data)
		lData = data;
	}
});